package com.hyt.it.ogt.kq.service.gov.model.dto;

import com.alibaba.nacos.common.NotThreadSafe;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @PACKAGE_NAME: com.hyt.it.ogt.kq.service.gov.model.dto
 * @USER: Wuyingge
 * @DATE: 2023/8/2 16:18
 * @PROJECT_NAME: it-ogt-kq
 * @Desc :
 **/
@Data
@Accessors(chain = true)
@ApiModel(value = "TimeSubjectBindingDTO", description = "批次绑定科目入参")
public class TimeSubjectBindingDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "任务id")
    @NotNull(message = "考试任务id不能为空")
    private String taskId;

    @ApiModelProperty(value = "批次id")
    @NotNull(message = "考试批次id不能为空")
    private String timeId;

    @ApiModelProperty(value = "科目Id")
    @NotNull(message = "选择的科目不能为空")
    private List<String> subjectIds;
}
